package com.xinsoft.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xinsoft.entity.dto.MesFeedingPlanDTO;
import com.xinsoft.entity.dto.MesFeedingPlanDetailDTO;
import com.xinsoft.entity.dto.MesFeedingPlanPageParam;
import com.xinsoft.entity.po.MesFeedingPlan;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xinsoft.entity.vo.MesFeedingPlanVo;

import java.util.List;

/**
* @author hsm
* @description 针对表【mes_feeding_plan(投料计划)】的数据库操作Service
* @createDate 2023-07-24 15:10:35
*/
public interface MesFeedingPlanService extends IService<MesFeedingPlan> {

    IPage<MesFeedingPlanVo> findPageListByParam(MesFeedingPlanPageParam param);

    MesFeedingPlan addMesFeedingPlan(MesFeedingPlanDTO mesFeedingPlanDTO);

    MesFeedingPlan editMesFeedingPlan(MesFeedingPlanDTO mesFeedingPlanDTO);

    MesFeedingPlanDTO getMesFeedingPlan(Integer id);

    void audit(List<Integer> ids);

    void deAudit(List<Integer> ids);

    List<MesFeedingPlanDetailDTO> getItemList(List<Integer> ids);
}
